* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
    #page {
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  header {
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #ffffff;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-container {
    flex-shrink: 0;
    z-index: 1001;
}

.logo {
    height: 50px;
    width: auto;
}

.nav-container {
    position: relative;
}

.nav-container nav ul {
    list-style-type: none;
    display: flex;
    gap: 20px;
}

.nav-container nav ul li a {
    color: black;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    padding: 5px 10px;
}

.nav-container nav ul li a:hover {
    color: #025d0b;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
    z-index: 1001;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-container {
    position: absolute;
    top: 100%;
    right: 10px;
    width: 250px;
    background-color: #ffffff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    opacity: 0;
    padding: 0;
    z-index: 999;
  }

  .nav-container.active {
    max-height: 500px;
    opacity: 1;
  }

  .nav-container nav ul {
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    padding: 20px;
  }

  .nav-container nav ul li {
    width: 100%;
    text-align: right;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }

  .nav-container nav ul li:last-child {
    border-bottom: none;
  }

  .nav-container nav ul li a {
    color: #333;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .nav-container nav ul li a:hover {
    background-color: #e0f2f1;
    color: #025d0b;
  }
}


  main {
  position: relative;
}

main h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  text-align: center;
  margin-top: 40px;
  color: #1a3e72; 
}

.opis-naslov {
  text-align: center;
  font-style: italic;
  font-size: clamp(16px, 2vw, 20px);
  color: #4a6fa5; 
  margin: 10px 0 40px 0;
}

.kontakt-kontejner {
  max-width: 600px;
  margin: 0 auto 60px auto;
  padding: 20px;
  background-color: #f2f9ff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(26, 62, 114, 0.1);
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

form {
  font-family: Arial, Helvetica, sans-serif;
  flex: 2 1 350px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form label {
  font-weight: 600;
  color: #1a3e72;
}

form input[type="text"],
form input[type="email"],
form textarea {
  padding: 10px 12px;
  font-size: 16px;
  border: 1.5px solid #ccc;
  border-radius: 5px;
  font-family: Arial, Helvetica, sans-serif;
  transition: border-color 0.3s ease;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
  outline: none;
  border-color: #1a3e72;
  background-color: #fff;
}

form textarea {
  resize: vertical;
  min-height: 120px;
  font-family: Arial, Helvetica, sans-serif;
}

form button {
  align-self: flex-start;
  background-color: #1a3e72;
  color: #fff;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: Arial, Helvetica, sans-serif;
}

form button:hover {
  background-color: #13325c;
}

.info {
  flex: 1 1 220px;
  font-family: Arial, Helvetica, sans-serif;
  color: #1a3e72;
  padding: 10px;
}

.info h2 {
  margin-bottom: 15px;
  font-size: 22px;
  border-bottom: 2px solid #1a3e72;
  padding-bottom: 6px;
}

.info p {
  margin-bottom: 12px;
  font-size: 16px;
}

.info strong {
  font-weight: 600;
}

footer {
    background-color: #f2f9ff;
    color: #333;
    padding: 40px 20px 20px;
    font-family: Arial, sans-serif;
    border-top: 2px solid #0288d1;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.footer-left, .footer-middle, .footer-right, .footer-sestrinska {
    flex: 1;
    min-width: 250px;
}

.footer-left h3 {
    color: #025d0b;
    margin-bottom: 10px;
}

.footer-middle h4,
.footer-right h4,
.footer-sestrinska h4 {
    margin-bottom: 12px;
    color: #0288d1;
}

.footer-middle ul {
    list-style: none;
    padding: 0;
}

.footer-middle ul li {
    margin-bottom: 8px;
}

.footer-middle ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-middle ul li a:hover {
    color: #025d0b;
}

.footer-sestrinska a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-sestrinska a:hover {
    color: #025d0b;
}

.footer-sestrinska p {
    margin: 5px 0;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #777;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-left, .footer-middle, .footer-right, .footer-sestrinska {
        margin-bottom: 20px;
    }
}
